package com.leyou.item.mapper;

import com.leyou.item.pojo.Spu;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;
import tk.mybatis.mapper.common.Mapper;

/**
 * Author: Saka
 * Date: 2019/1/20
 * Time: 19:28
 */
public interface SpuMapper extends Mapper<Spu> {

    @Update("update tb_spu set saleable = 1 where id = 183")
    void updatedownShelves(Long id, Boolean saleable);
}
